﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class Goods : Core, IContent
    {
        public Goods()
        {
            ShoppingCarts = new List<ShoppingCart>();
        }

        public string GoodsNum { get; set; }
        public string Brand { get; set; }
        [Index]
        public int? BrandId { get; set; }
        public string Standard { get; set; }
        public string Packaging { get; set; }
        public string BarCode { get; set; }
        public string Content { get; set; }
        public decimal PriceMarket { get; set; }
        public decimal PriceMember { get; set; }
        public string Unit { get; set; }
        public string BigPicUrl { get; set; }
        public decimal Discount { get; set; }
        public int PresentExp { get; set; }
        public int Stocks { get; set; }
        public int AlarmNum { get; set; }
        public int BuyTimes { get; set; }
        public decimal Weight { get; set; }
        public bool IsSpecialPrice { get; set; }

        public virtual Brand BrandInfo { get; set; }
        public virtual ICollection<ShoppingCart> ShoppingCarts { get; set; }
    }
}